package com.etc.delivery.entity;

public class Appointment {

    private int waybill_no;//订单编号

    private String mail_type;//寄件类型

    private String sender_name;//寄件人名字

    private String sender_phone;//寄件人手机号

    private String sender_address;//寄件人地址

    private String recipient_name;//收件人姓名

    private String recipient_phone;//收件人手机号

    private String recipient_address;//收件人地址

    private int mail_cost;//寄件费用

    private String status;//状态

    private User user;

    public Appointment() {
    }

    public Appointment(int waybill_no, String mail_type, String sender_name, String sender_phone, String sender_address, String recipient_name, String recipient_phone, String recipient_address, int mail_cost, String status, User user) {
        this.waybill_no = waybill_no;
        this.mail_type = mail_type;
        this.sender_name = sender_name;
        this.sender_phone = sender_phone;
        this.sender_address = sender_address;
        this.recipient_name = recipient_name;
        this.recipient_phone = recipient_phone;
        this.recipient_address = recipient_address;
        this.mail_cost = mail_cost;
        this.status = status;
        this.user = user;
    }

    public int getWaybill_no() {
        return waybill_no;
    }

    public void setWaybill_no(int waybill_no) {
        this.waybill_no = waybill_no;
    }

    public String getMail_type() {
        return mail_type;
    }

    public void setMail_type(String mail_type) {
        this.mail_type = mail_type;
    }

    public String getSender_name() {
        return sender_name;
    }

    public void setSender_name(String sender_name) {
        this.sender_name = sender_name;
    }

    public String getSender_phone() {
        return sender_phone;
    }

    public void setSender_phone(String sender_phone) {
        this.sender_phone = sender_phone;
    }

    public String getSender_address() {
        return sender_address;
    }

    public void setSender_address(String sender_address) {
        this.sender_address = sender_address;
    }

    public String getRecipient_name() {
        return recipient_name;
    }

    public void setRecipient_name(String recipient_name) {
        this.recipient_name = recipient_name;
    }

    public String getRecipient_phone() {
        return recipient_phone;
    }

    public void setRecipient_phone(String recipient_phone) {
        this.recipient_phone = recipient_phone;
    }

    public String getRecipient_address() {
        return recipient_address;
    }

    public void setRecipient_address(String recipient_address) {
        this.recipient_address = recipient_address;
    }

    public int getMail_cost() {
        return mail_cost;
    }

    public void setMail_cost(int mail_cost) {
        this.mail_cost = mail_cost;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Appointment{" +
                "waybill_no=" + waybill_no +
                ", mail_type='" + mail_type + '\'' +
                ", sender_name='" + sender_name + '\'' +
                ", sender_phone='" + sender_phone + '\'' +
                ", sender_address='" + sender_address + '\'' +
                ", recipient_name='" + recipient_name + '\'' +
                ", recipient_phone='" + recipient_phone + '\'' +
                ", recipient_address='" + recipient_address + '\'' +
                ", mail_cost=" + mail_cost +
                ", status='" + status + '\'' +
                ", user=" + user +
                '}';
    }
}
